package com.qinyi.common.ajax;

/**
 * @author wangan on 2019/5/31
 * @description
 */
public enum AjaxCode {

	OK(200, "操作成功!"),
	SUCCESS(0, "操作成功!"),
	SERVER_ERROR(500, "系统异常,请稍后重试");


	private int code;
	private String msg;

	AjaxCode(int code, String msg) {
		this.code = code;
		this.msg = msg;
	}

	public int getCode() {
		return code;
	}

	public void setCode(int code) {
		this.code = code;
	}

	public String getMsg() {
		return msg;
	}

	public void setMsg(String msg) {
		this.msg = msg;
	}}
